<%@page import="com.entity.Task"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>项目管理系统</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<style type="text/css">
#div1 {
	padding-top: 70px;
}

body {
	background-color: #cff;
}
</style>
</head>
<body class="body">

	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">

				<a class="brand" href="#">项目管理系统</a>
			</div>
		</div>
	</div>

	<div id="div1">
		<div class="container">
			<div class="row">
				<div class="span3">
					<div style="padding: 8px 0;" class="well">

						<ul class="nav nav-list">
							<li class="nav-header"></li>
							<li class="nav-header">${ep.project.name }</li>
							<li class="divider"></li>
							<li class="active"><a
								href="FindTask.jspx?id=${ep.project.id}"><i
									class="icon-white icon-home"></i>最新动态</a>
							</li>
							<li><a href="goal.jspx?id=${ep.project.id}"><i
									class="icon-flag"></i>目标</a>
							</li>
							<li><a href="#"><i class="icon-folder-open"></i>资料库</a>
							</li>
							<li><a href="#"><i class="icon-file"></i>文件共享</a>
							</li>

							<li><a href="#"><i class="icon-user"></i>联系人</a>
							</li>
							<li><a href="#"><i class="icon-fire"></i>想法</a>
							</li>
							<li><a href="#"><i class="icon-warning-sign"></i>Bug</a>
							</li>
							<li><a href="#"><i class="icon-cog"></i>项目设置</a>
							</li>
						</ul>
					</div>
				</div>

				<div class="span6">

					<ul class="breadcrumb"
						style="margin-bottom:0px;border-radius: 3px 3px 0 0;">
						<li class="active"><i class="icon-th"></i>你在想什么？</li>
					</ul>
					<div class="wall">
						<form action="Chat.jspx" method="post" style="margin:0px">
							<textarea name="msg" id="" style="width:415px" rows="3"></textarea>

							<button class="btn btn-primary">发布</button>
						</form>
					</div>


					<ul class="breadcrumb"
						style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:20px">
						<li class="active"><i class="icon-th"></i>信息流</li>
					</ul>
					<c:forEach items="${msgList}" var="msg">
						<div class="wall">
							<h4 style="color:red;font-size:15px;">${msg.time }
								${msg.username }:</h4>
							<p style="color:blue;font-size:18px;">${msg.msg }</p>
						</div>
					</c:forEach>
				</div>
				<div class="span3">
					<div class="box">
						<div class="head">我的任务</div>
						<c:forEach items="${taskList}" var="r">
							<ul>
								<li><span style="color:blue;font-size:20px;">${r.getName()}</span></li>
								${r.getDesc()}
							</ul>
						</c:forEach>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>

</html>
